//
//  QZInfoLabelCell.m
//  WeiWeiHaircut
//
//  Created by apple on 15/12/9.
//  Copyright © 2015年 超群. All rights reserved.
//

#import "QZInfoLabelCell.h"
#import "NSString+size.h"

@interface QZInfoLabelCell ()

@property (weak, nonatomic) IBOutlet UILabel *infoLabel;


@end

@implementation QZInfoLabelCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];


}

-(void)setProdInfo:(NSString *)prodInfo{
    _prodInfo = prodInfo;
    
    _infoLabel.text = prodInfo;
    _infoLabel.font = [UIFont systemFontOfSize:15];
    
    _infoLabel.size = [prodInfo getSizeWithMaxWidth:WIDTH-16 andFontSize:15];
    
    
    
    
    
}
@end
